package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.DailyCatalog;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IDailyCatalogService {
    PageInfo<DailyCatalog> query(QueryObject qo);

    void saveOrUpdate(DailyCatalog entity);

    /**
     * 根据日报ID查询分类
     * @param dailyId
     * @return
     */
    List<DailyCatalog> listCatalogByDailyId(Long dailyId);
}
